forum

home / developersection / forums / how do i check if a sql server text column is empty?

How do I check if a SQL Server text column is empty?

Manoj Bhatt 3956 14-Feb-2013

Hi MindStickians!

I am using SQL Server 2005. I have a table with a text column and I have many rows in the table where the value of this column is not null, but it is empty.

Trying to compare against '' yields this response:

The data types text and varchar are incompatible in the not equal to operator.

Is there a special function to determine whether the value of a text column is not null but empty?

Thanks!


Updated on 16-Feb-2013
Can you answer this question?

Answer

1 Answers

Liked By